package com.huajx.core.web;

import com.huajx.core.config.PropertyConfig;
import com.huajx.util.CharUtil;
import com.huajx.util.StrUtil;

import java.util.List;

@PropertyConfig(prefix = "hboot.web")
public class HbootWebConfig {
    private String template;
    private int port;
    private String includes;
    private String logpath;

    public String getLogpath() {
        return logpath;
    }

    public void setLogpath(String logpath) {
        this.logpath = logpath;
    }

    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public List<String> getIncludes() {
        return StrUtil.split(includes, CharUtil.COMMA);
    }

    public void setIncludes(String includes) {
        this.includes = includes;
    }
}
